headerbar: Fix size allocation
authorMatthias Clasen <mclasen@redhat.com>
Fri, 5 Aug 2016 05:08:44 +0000 (01:08 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 7 Aug 2016 19:08:44 +0000 (15:08 -0400)
commit5fefc7a71432c05e30ff2954ef8157907efd27c3
tree5468a3a0d928b75a72b9f49210d849f4cf8fd4ea
parentcb3fc956c5cebdbeee1fe9dd1038b1f9ccc61852
headerbar: Fix size allocation

The GtkHeaderBar gadget implementation was subtly broken: it called
gtk_widget_set_allocation both in gtk_header_bar_size_allocate (with
the actual allocation) and in gtk_header_bar_allocate_contents (with
the content allocation of the main gadget). Dropping the second call
fixes the render node conversion for GtkHeaderBar.
gtk/gtkheaderbar.c